import 'package:easy_refresh/easy_refresh.dart';
import 'package:flutter/cupertino.dart';

ClassicHeader myRefreshHeader(){
  return const ClassicHeader(
      dragText:'下拉刷新',
      armedText:'松开刷新',
      readyText:'刷新中...',
      processedText:'刷新完成',
      messageText:'刷新时间 %T'
  );
}

ClassicFooter myRefreshFooter(){
  return const ClassicFooter(
    dragText:'',
    armedText:'',
    readyText:'',
    processedText:'',
    messageText:'',
    succeededIcon: SizedBox(),
    noMoreIcon: SizedBox(),
  );
}